
<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="name"  lay-verify="name" placeholder="请输入姓名" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电话</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="telphone"  lay-verify="telphone" placeholder="请输入电话" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <select name="role">
                    <option value="男" {{ d.params.role === '男' ? 'selected' : '' }}>男</option>
                    <option value="女" {{ d.params.role === '女' ? 'selected' : '' }}>女</option>
                </select>
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">资历</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <select name="seniorty">
                    <option value="初级" {{ d.params.role === '初级' ? 'selected' : '' }}>初级</option>
                    <option value="高级" {{ d.params.role === '高级' ? 'selected' : '' }}>高级</option>
                    <option value="专家" {{ d.params.role === '专家' ? 'selected' : '' }}>专家</option>
                    <option value="资深" {{ d.params.role === '资深' ? 'selected' : '' }}>资深</option>
                </select>
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'form'], function(){
        var $ = layui.$
            ,form = layui.form;

    });
</script>